<div>
  <h2>基本用法</h2>
  <el-switch ng-model="value" active-color="#13ce66" inactive-color="#ff4949">
  </el-switch>
  <h2>文字描述</h2>
  <el-switch ng-model="isActive" active-color="#13ce66" inactive-color="#ff4949" active-text="启用" inactive-text="停用">
  </el-switch>
  <h2>禁用状态</h2>
  <el-switch ng-model="isActive" active-color="#13ce66" inactive-color="#ff4949" active-text="启用" inactive-text="停用" disabled="true">
  </el-switch>
</div>